/**
 * 下载Excel模板
 * @param fileName 文件名
 */
export async function downloadExcelTemplate(fileName: string) {
    const anchor = document.createElement('a')
    anchor.href = `./static/file/excel/${fileName}`
    anchor.setAttribute('download', fileName)
    anchor.innerHTML = 'downloading...'
    anchor.style.display = 'none'
    document.body.appendChild(anchor)
    anchor.click()
    anchor.remove()
}